/*  1:   */ package org.jetbrains.generate.tostring.config;
/*  2:   */ 
/*  3:   */

import com.intellij.openapi.editor.Editor;
import com.intellij.psi.PsiClass;
import com.intellij.psi.PsiMethod;
import org.jetbrains.annotations.NotNull;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */ 
/*  8:   */ public class CancelPolicy
/*  9:   */   implements ConflictResolutionPolicy
/* 10:   */ {
/* 11:29 */   private static final CancelPolicy a = new CancelPolicy();
/* 12:   */   
/* 13:   */   public static CancelPolicy getInstance()
/* 14:   */   {
/* 15:34 */     return a;
/* 16:   */   }
/* 17:   */   
/* 18:   */   public void setNewMethodStrategy(InsertNewMethodStrategy paramInsertNewMethodStrategy) {}
/* 19:   */   
/* 20:   */   public PsiMethod applyMethod(PsiClass paramPsiClass, PsiMethod paramPsiMethod1, @NotNull PsiMethod paramPsiMethod2, Editor paramEditor)
/* 21:   */   {
/* 22:42 */     if (paramPsiMethod2 == null) {
/* 23:42 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "2", "org/jetbrains/generate/tostring/config/CancelPolicy", "applyMethod" }));
/* 24:   */     }
/* 25:42 */     return null;
/* 26:   */   }
/* 27:   */   
/* 28:   */   public String toString()
/* 29:   */   {
/* 30:46 */     return "Cancel";
/* 31:   */   }
/* 32:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.generate.tostring.config.CancelPolicy

 * JD-Core Version:    0.7.0.1

 */